﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AbpVnext_Module;
using Ebusiness_Domain.Model;
using Microsoft.EntityFrameworkCore;

namespace Ebusiness_EntityFrameWork.DBContext
{
    /// <summary>
    /// 基础设施层保存数据到数据库
    /// </summary>
    public class EbusinessDbContext : DbContext
    {
        public EbusinessDbContext(DbContextOptions options) : base(options)
        {

        }

        /// <summary>
        /// 商品实体 聚合根
        /// </summary>
        public DbSet<Product> Product { set; get; }
    }
}
